import { localUrl, baseUrl, grayUrl } from './config'
import { oldHTTP } from './api'
import { type aesKeyResult } from '../types/aesResult'

const getAesKey = function (data: { accessToken: string }): Promise<aesKeyResult> {
    let requestUrl = baseUrl + '/tuning/getH5Param.do';
    return oldHTTP.get(requestUrl, data);
};

export { getAesKey };